package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;

/**
 * 更新政策速递排序
 *
 * @author lyh
 */

@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "更新政策速递排序")
@Data
public class UpdatePolicySortDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "政策速递Id")
    @NotNull(message = "更新排序,政策速递ID不能为空")
    private String id;

    @ApiModelProperty(notes = "排序")
    @NotNull(message = "更新排序,排序值不能为空")
    private Integer sort;
}
